home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / comm1 / netgat12.lha / NetGate / Install / Workbench2.1+ / Install.installer < prev    next >
Text File  |  1996-03-22  |  7KB  |  195 lines

  1. ; $VER: Install.Installer 37.1 (30.11.95)
  2. ;
  3. ; This script installs NetGate and the various support files to your
  4. ; harddisk. Use Commodore's Installer utility to execute.
  5.  
  6. ; Default source- and destination files
  7.  
  8. (set NetGate-source   "//NetGate")
  9. (set NGCatchup-source "//NGCatchup")
  10. (set NetGate-dest     "AmiTCP:Bin/")
  11. (set lib-source       "//libs/netgate.library")
  12. (set lib-dest         "LIBS:")
  13.  
  14. ;***************************************************************************
  15. ; English strings
  16. ;
  17. ; Translation: Native
  18. ;***************************************************************************
  19.  
  20. (set default_lang 1)
  21. (set oldlevel @user-level)
  22.  
  23. (set wrongkickstart      "NetGate requires at least Kickstart 2.04")
  24.  
  25. (set lib-where           (cat "In which directory do you want to install "
  26.                               "netgate.library?"))
  27.  
  28. (set lib-where-help      (cat "This library is required by NetGate and its releated "
  29.                               "utilities. They will not run without it.\n\n"
  30.                               @askdir-help))
  31. (set NetGate-where       (cat "In which directory do you want to install "
  32.                               "NetGate and its related utilities?"))
  33. (set NetGate-where-help  (cat "You probably want to pick a directory which is "
  34.                               "in your command path. The recommended directory is "
  35.                               "AmiTCP:bin, but C: will also do nicely.\n\n"
  36.                                @askdir-help))
  37. (set copying-lib         "Copying netgate.library to ")
  38. (set copying-NetGate     "Copying NetGate and related utilities to ")
  39.  
  40.  
  41. ;***************************************************************************
  42. ; Danish strings
  43. ;
  44. ; Translation: Michael Berg
  45. ; Date: 30.12.95
  46. ;***************************************************************************
  47.  
  48. (if (= @language "dansk")
  49. (
  50. (set default_lang 2)
  51. (set oldlevel @user-level)
  52.  
  53. (set wrongkickstart      "NetGate kræver mindst Kickstart 2.04")
  54.  
  55. (set lib-where           (cat "I hvilket directory ønsker du at installere "
  56.                               "netgate.library?"))
  57.  
  58. (set lib-where-help      (cat "Dette library kræves af NetGate og dens relaterede "
  59.                               "hjælpeværktøjer. De kan ikke køre uden dette.\n\n"
  60.                               @askdir-help))
  61. (set NetGate-where       (cat "I hvilket directory ønsker du at installere "
  62.                               "NetGate og tilhørende hjælpeværktøjer?"))
  63. (set NetGate-where-help  (cat "Du bør nok vælge et directory, som er inkluderet i "
  64.                               "din kommando-sti. Det anbefaledes at installere "
  65.                               "i AmiTCP:bin, men C: er også udemærket til formålet.\n\n"
  66.                                @askdir-help))
  67. (set copying-lib         "Kopierer netgate.library til ")
  68. (set copying-NetGate     "Kopierer NetGate og tilhørende hjælpeværktøjer til ")
  69. ))
  70.  
  71. ;***************************************************************************
  72. ; German strings
  73. ;
  74. ; Translation: Pieter Hollants <fxmts205@rz.uni-frankfurt.de>
  75. ; Date: 8.3.96
  76. ;***************************************************************************
  77.  
  78. (if (= @language "deutsch")
  79. (
  80. (set default_lang 4)
  81. (set oldlevel @user-level)
  82.  
  83. (set wrongkickstart      "NetGate benötigt Kickstart 2.04 oder höher!")
  84.  
  85. (set lib-where           (cat "In welchem Verzeichnis wollen Sie die "
  86.                               "netgate.library installieren?"))
  87.  
  88. (set lib-where-help      (cat "Diese Library wird von NetGate und seine "
  89.                               "Utilities verwendet. Sie funktionieren nicht "
  90.                               "ohne sie!\n\n"
  91.                               @askdir-help))
  92. (set NetGate-where       (cat "In welchem Verzeichnis möchten Sie NetGate "
  93.                               "und seine Utilities installieren?"))
  94. (set NetGate-where-help  (cat "Es empfiehlt sich, NetGate in einem Verzeichnis"
  95.                               "zu installieren, das in ihrem Suchpfad liegt.."
  96.                               "Ich empfehle AmiTCP:bin, aber C: funktioniert "
  97.                               "auch ohne weiteres.\n\n"
  98.                               @askdir-help))
  99. (set copying-lib         "Kopiere die netgate.library nach ")
  100. (set copying-NetGate     "Kopiere NetGate und seine Utilities nach ")
  101. ))
  102.  
  103. ;***************************************************************************
  104. ; Italian strings
  105. ;
  106. ; Translation: Francesco Dipietromaria
  107. ; Date: 21/03/96
  108. ;***************************************************************************
  109.  
  110. (if (= @language "italiano")
  111. (
  112. (set default_lang 8)
  113. (set oldlevel @user-level)
  114.  
  115. (set wrongkickstart      "NetGate richiede almeno il Kickstart 2.04")
  116.  
  117. (set lib-where           (cat "In quale directory volete installare la "
  118.                               "netgate.library?"))
  119.  
  120. (set lib-where-help      (cat "Questa libreria è richiesta da NetGate e dalle sue "
  121.                               "utilities. Esse non funzioneranno senza di essa.\n\n"
  122.                               @askdir-help))
  123. (set NetGate-where       (cat "In quale directory volete installare "
  124.                               "NetGate e le sue utilities?"))
  125. (set NetGate-where-help  (cat "Vi conviene scegliere una directory che sia nel "
  126.                               "vostro percorso di comandi. La directory consigliata "
  127.                               "è AmiTCP:bin, ma C: andrà bene ugualmente.\n\n"
  128.                                @askdir-help))
  129. (set copying-lib         "Sto copiando netgate.library in ")
  130. (set copying-NetGate     "Sto copiando NetGate e le utilities in ")
  131. ))
  132.  
  133. ;***************************************************************************
  134. ; Make sure we are running under a 2.04 ROM (or better)
  135. ;***************************************************************************
  136.  
  137. (complete 0)
  138.  
  139. (if (< (/ (getversion) 65536) 37)
  140. (
  141.     (abort wrongkickstart)
  142. ))
  143.  
  144. ;***************************************************************************
  145. ; Main installation procedure
  146. ;***************************************************************************
  147.  
  148. ; Attempt to install netgate.library.
  149. ;
  150. (set lib-dest
  151.     (askdir
  152.         (prompt lib-where)
  153.         (help lib-where-help)
  154.         (default lib-dest)
  155.     )
  156. )
  157.  
  158. ; Now copy it over
  159. ;
  160.  
  161. (copylib
  162.     (prompt (cat copying-lib lib-dest "..."))
  163.     (help @copylib-help)
  164.     (source lib-source)
  165.     (dest lib-dest)
  166.     (confirm)
  167. )
  168.  
  169. ; Ask user where he wants the NetGate utilities
  170. ;
  171. (set NetGate-dest
  172.     (askdir
  173.         (prompt NetGate-where)
  174.         (help NetGate-where-help)
  175.         (default NetGate-dest)
  176.     )
  177. )
  178.  
  179. ; Copy them over
  180. ;
  181. (copyfiles
  182.     (prompt (cat copying-NetGate NetGate-dest "..."))
  183.     (source NetGate-source)
  184.     (dest NetGate-dest)
  185.     (help @copyfiles-help)
  186.     (infos)
  187. )
  188. (copyfiles
  189.     (source NGCatchup-source)
  190.     (dest NetGate-dest)
  191.     (infos)
  192. )
  193.  
  194. (complete 100)
  195.